package polymorphic;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: zhongyisheng
 * Date: 2024-07-03
 * Time: 12:21
 */
public class Dog extends Animal{
    public Dog(String name, int age) {
        super(name, age);
    }
    public void eat() {
        System.out.println(this.name + " 正在吃狗粮……");
    }
}
